Editing.htmlTEXTR*chàÆØS¢!ØS¢!ÅÅF AppMaker 2 Reference

AppMaker 2 Reference

Editing

Creating
Deleting
Copying
Changing Position
Changing Size
Reordering
Aligning
Adding Scrollbars
Using Styles
Making Graphic Images

Creating

To create an item other than a window item, select the Category of item (e.g. Windows), then choose Create... from the Edit menu. AppMaker displays an Info dialog for the kind of item.

If the Category you want doesn't already appear in your file's main outline window, choose Add Categories from the Edit menu.

To create a Window Item in a window (or dialog, etc.) that is open in the View Editor, first open the Tools palette. Select the item kind you want to create, then click in the view editor where you want the top left corner of the item.


Deleting

To delete an item (or multiple items), first select it. Then press the Delete key or choose Clear or Cut from the Edit menu. You can Undo if you accidentally delete something.


Copying

There are two ways to copy items. The easier is to use Drag&Drop. Select the items, press and hold the Option key, then drag the items where you want them. AppMaker copies items if you hold the Option key while dragging or if you drag from one file to another. Otherwise, AppMaker moves the items.

The second way to copy items is to use Cut/Copy/Paste.


Changing Position

There are three ways to change the position of items. The first is using Drag&Drop. Just select the items, then drag them to a new position. The second is using the arrow keys to "nudge" the items. The third ways is to use the Coordinates floater to type in a new position.

See also Changing the order of items.


Changing Size

To change the size of an item, first select it, then drag its resize box. Alternatively, use the Coordinates floater to type in a new size.


Changing the order of items

You may want to change the order of items in a window to change the order in which they are draw, or the tabbing order, or how they respond to mouse clicks. For some languages you may need to make the OK and Cancel buttons be the first two items.

To change the order of items, open an outline window. In that window, select an item, then drag it where you want it.


Aligning

In the View editor you can align items by their top, left, bottom, or right edges, by their vertical center, or by their horizontal center. Select the master item, then select other items. Choose an alignment from the Align Items submenu under the Options menu. The items will be aligned relative to the first item.


Adding Scrollbars

"Scrollability" is a property of a window item or an entire window. Rather than creating a scroller object with an embedded edit text object, you just create an edit text object, then specify that it have a scroll bar.

To add a scrollbar to an item, select the scrollbar tool from the Tools palette. Click near the right edge of the item to add a vertical scroll bar, near the bottom edge to add a horizontal scroll bar. Click again to remove a scrollbar. The scrollbar tool behaves like a toggle.


Using Styles

AppMaker uses the style sheet concept of many word processors. A Text Style is a named set of font, size, style, and text color. A Drawing Style is a named set of line size, line color, fill color, 3D-ness, and related drawing attributes.

Styles are inherited by subitems. So you can apply a 3D style to a window and it will apply to all items in that window unless an item has its own style that overrides its inherited style. Similarly you can apply Geneva 9 to a window and all textual items in that window will be Geneva 9 unless they set a different text style.

You apply a style to an item by selecting from a popup menu in the Info floater. To create a new Drawing Style or Text Style, first open your file's main outline window. If you don't already have a Drawing Style category or a Text Style category, choose Add Categories from the Edit menu. After adding a category, select it then choose Create Drawing Style (or Create Text Style) from the Edit menu.


Making Graphic Images

An image is a set of graphic data at three depths: 8-bit, 4-bit, and 1-bit (black and white). Each piece of graphic data can be PICT, cicn, ICON, SICN, ICN#, or icon family (e.g. icl8, ics4). In general you don't have to concern yourself with the type of graphic. AppMaker can use most types in most contexts. AppMaker will determine what code to generate based on the type of graphic.

You create graphic data in external programs such as Resorceror, then either Paste or Import them into AppMaker images. If you have an existing resource file that contains many graphic resources you can Import them all at once into a new AppMaker document. Then you can Drag&Drop the ones you want into your document. Alternatively, you can Copy graphic data from the external source then Paste into your document.

After creating images in your AppMakeer document you can use them in many ways including buttons, checkboxes, palettes, and sliders.


hhFE#.¡CODE$ÊCODE%/DDATA Editing.htmlgTEXTR*ch≤±‡TEXTR*ch≤±‡Ø0äàÆttiestohid nd witlir ecedctngator, an fdiildo.laˇchckvewiˇ˛becaowicus dac˛meouopelioavfig peetst lro nclk a aieaboha**nocoaH Monaco√˛0ép°"∂Q#C:Q#C:ØSi‚~~ëR*chÅHH¯HˇˆˇÚV,(¸hhÿ hd'0ˇŒˇ∫F Æ Monaco  Helvetica ConfidentialÄÄÄÄHhhF∂¢0"‰FMPSRBBSTÌˇˇÄˇˇL∂ôÿ